itest: make memory access work under sandbox
authorStephen Warren <[email protected]>
Sat, 3 Oct 2015 19:56:46 +0000 (13:56 -0600)
committerTom Rini <[email protected]>
Sat, 24 Oct 2015 17:50:33 +0000 (13:50 -0400)
commit7861204c9af7fec1ea9b41541c272516235a6c93
tree71f27353e0ccfd62147a6fa10f88f234218dc209
parent40d2154726fd77698103419923a406f051a7199d
itest: make memory access work under sandbox

itest accesses memory, and hence must map/unmap it. Without doing so, it
accesses invalid addresses and crashes.

Signed-off-by: Stephen Warren <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/cmd_itest.c